<?php

 
namespace RedMVC\Form\Element;
use RedMVC;

/**
 * Reset class
 *  
 * @category    RedMVC
 * @package     Form
 * @subpackage  Element 
 * @author      Jan Fischer, bitWorking <info@bitworking.de>
 */
class Reset extends AElement{    
    public function render(){
        $translate = RedMVC\Registry::get('RedMVC_Translate');
        return '<input type="reset" value="'.$translate->_($this->value).'"'.$this->form->buildAttributes($this->attributes).' />';
    }
}